#!/bin/bash
JUDGE_SCRIPT_WITH_PATH=$1
TEST_INPUT_FILE=$2
CURRENT_PATH=$3
PYTHON_ARGS=""
nice "$CURRENT_PATH/run_with_timeout" 300000 /usr/bin/python3.4 $PYTHON_ARGS $JUDGE_SCRIPT_WITH_PATH $TEST_INPUT_FILE
EC=$?
chmod -R a+w * > /dev/null 2> /dev/null
exit $EC
